package com.zhongwang.mms.gen.mapper;

import com.zhongwang.mms.gen.entity.MMaterials;
import com.zhongwang.mms.gen.entity.MMaterialsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MMaterialsMapper {
    long countByExample(MMaterialsExample example);

    int deleteByExample(MMaterialsExample example);

    int deleteByPrimaryKey(Integer matId);

    int insert(MMaterials record);

    int insertSelective(MMaterials record);

    List<MMaterials> selectByExample(MMaterialsExample example);

    MMaterials selectByPrimaryKey(Integer matId);

    int updateByExampleSelective(@Param("record") MMaterials record, @Param("example") MMaterialsExample example);

    int updateByExample(@Param("record") MMaterials record, @Param("example") MMaterialsExample example);

    int updateByPrimaryKeySelective(MMaterials record);

    int updateByPrimaryKey(MMaterials record);
}